import java.io.IOException;

import java.io.PrintWriter;
import javax.servlet.GenericServlet;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
public class ShowInfomation extends GenericServlet {
    public void service(ServletRequest request, ServletResponse response)
            throws ServletException, IOException {
        response.setContentType("text/html;charset=utf-8");
        PrintWriter out = response.getWriter();
        out.println("<html><body>");
        out.println("<h1>个人信息</h1>");
        out.println("<p>专业:软件工程</p >");
        out.println("<p>班级:22-1</p >");

        out.println("<p>学号:202203020104</p >");
        out.println("<p>姓名:陈学凯</p >");
        out.println("<p>性别:男</p >");
        out.println("<p>年龄:20</p >");
        out.println("</body></html>");

    }
}

